#include <MFCKeyboardMouseCallbacktime.h>
Public Member Functions | |
| MFCKeyboardMouseCallbacktime (osgUtil::SceneView *sceneView) | |
| void | home () |
| virtual void | keyPress (Producer::KeyCharacter key) |
| virtual void | mouseMotion (float mx, float my) |
| virtual void | buttonPress (float mx, float my, unsigned int mbutton) |
| virtual void | buttonRelease (float mx, float my, unsigned int mbutton) |
| float | mx () |
| float | my () |
| unsigned int | mbutton () |
| void | resetTrackball () |
| osg::Matrixd | getViewMatrix () |
Private Attributes | |
| float | _mx |
| float | _my |
| float | _mx_buttonPress |
| float | _my_buttonPress |
| unsigned int | _mbutton |
| osg::ref_ptr< Producer::Trackball > | _trackBall |
| osg::ref_ptr< osgUtil::SceneView > | _sceneView |
|
|
Constructor for the MFCKeyboardMouseCallbacktime
|
|
||||||||||||||||
|
Handles the mouse buttons press events. |
|
||||||||||||||||
|
Handles the mouse buttons release events. |
|
|
Getter for the View MAtrix.
|
|
|
To get to the initial position. |
|
|
To get to the initial position. |
|
|
Getter for the mouse button pressed, Y coordinate
|
|
||||||||||||
|
Handles the mouse motion events. |
|
|
Getter for the mouse position, X coordinate
|
|
|
Getter for the mouse position, Y coordinate
|
|
|
Resets the trackball |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1.4.6-NO